package com.loong.web.gp4j.bean.param.code;

import javax.validation.constraints.NotNull;

/**
 * 交换排序参数
 *
 * @author 张成轩
 */
public class ExchangeParam {

	private Integer id;
	private Integer oid;

	/**
	 * @return id
	 */
	@NotNull(message = "id不能为空")
	public Integer getId() {

		return id;
	}

	/**
	 * @param id id
	 */
	public void setId(Integer id) {

		this.id = id;
	}

	/**
	 * @return id
	 */
	@NotNull(message = "oid不能为空")
	public Integer getOid() {

		return oid;
	}

	/**
	 * @param oid id
	 */
	public void setOid(Integer oid) {

		this.oid = oid;
	}
}
